#pragma once

#include <list>
#include <memory>

#include "cSprite.h"
#include "cEffect.h"

typedef std::shared_ptr<cSprite> SpritePtr;

class cSpriteManager
{
public:
	cSpriteManager(cEffectPtr effect);
	~cSpriteManager();

	SpritePtr LoadSprite(const std::wstring & filename);
	void Draw(double dt);
	void Update();

private:
	std::list<SpritePtr> spritesArray;
	cEffectPtr SpriteShader;

};